package cn.spring.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import cn.spring.bean.Orders;
import cn.spring.bean.Today;

public interface OrdersService {
	public int save(Orders ord);
	public List<Orders> selectByState(Integer empId);
	public int updateTimeAndState(Integer empId,String time,Integer id);
	public List<Orders> selectToDay(Integer empId);
	public List<Orders> selectAll(Integer empId);
	public int fa(Integer id);
	public List<Map<String, Object>> selectLi(String startTime,String endTime);
	public Map<Today, List<Map<String, Object>>> today(Integer empId,String startTime,String endTime);
	public List<Map<String, Object>> selectMon(String time);
	public List<Map<String, Object>> selectLiCom(String startTime,String endTime);
	public List<Map<String, Object>> selectLiComWan(String startTime,String endTime,Integer empId);
	//关键字查询后台历史订单清单
	public List<Map<String, Object>> selectLiComByWord(String startTime,String endTime,String word);
	
	List<Map<String, Object>> selectLiByWord(String startTime,String endTime,String word);
	public int deleteOrd(int id);
	
	public Map<Today, List<Map<String, Object>>> selectByUserIdMon(String time,int eId);
}
